<div class="container">
  <app-title></app-title>
  <mat-divider></mat-divider>
  <app-teacher></app-teacher>
  <mat-divider></mat-divider>

  <h2>没有使用路由时</h2>

  <app-student [studentName]="'Li Lei'"></app-student>
  <app-student [studentName]="'Li Li'" [errorFlag]="2"></app-student>

  <mat-divider></mat-divider>

  <h2>使用路由时</h2>
  <button mat-button color="warn" routerLink="err">测试1</button>
  <button mat-button color="warn" routerLink="err2">测试2</button>
  <router-outlet></router-outlet>
</div>
<i class="material-icons">arrow_left </i>
